home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / include / Xm / FormP.h.z / FormP.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  3.5 KB  |  147 lines

  1. /*
  2.  * FormP.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* 
  26.  * @OSF_COPYRIGHT@
  27.  * (c) Copyright 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE FOUNDATION, INC.
  28.  * ALL RIGHTS RESERVED
  29.  *  
  30. */ 
  31. /*
  32.  * HISTORY
  33.  * Motif Release 1.2.5
  34. */
  35. /*   $XConsortium: FormP.h /main/cde1_maint/2 1995/08/18 19:04:44 drk $ */
  36. /*
  37. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  38. /*
  39. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  40. #ifndef _XmFormP_h
  41. #define _XmFormP_h
  42.  
  43.  
  44. #include <Xm/Form.h>
  45. #include <Xm/BulletinBP.h>
  46.  
  47. #ifdef __cplusplus
  48. extern "C" {
  49. #endif
  50.  
  51. typedef struct _XmFormAttachmentRec 
  52. {
  53.    unsigned char type;
  54.    Widget w;
  55.    int percent;
  56.    int offset;
  57.    int value;
  58.    int tempValue;
  59. } XmFormAttachmentRec, * XmFormAttachment;
  60.  
  61.  
  62. #ifdef att
  63. #undef att
  64. #endif
  65.  
  66. typedef struct _XmFormConstraintPart
  67. {
  68.    XmFormAttachmentRec att[4];
  69.    Widget next_sibling;
  70.    Boolean sorted;
  71.    Boolean resizable;
  72.    Dimension preferred_width, preferred_height;
  73. } XmFormConstraintPart, * XmFormConstraint;
  74.  
  75. typedef struct _XmFormConstraintRec
  76. {
  77.    XmManagerConstraintPart manager;
  78.    XmFormConstraintPart    form;
  79. } XmFormConstraintRec, * XmFormConstraintPtr;
  80.  
  81.  
  82. /*  Form class structure  */
  83.  
  84. typedef struct _XmFormClassPart
  85. {
  86.    XtPointer extension;   /* Pointer to extension record */
  87. } XmFormClassPart;
  88.  
  89.  
  90. /*  Full class record declaration for form class  */
  91.  
  92. typedef struct _XmFormClassRec
  93. {
  94.    CoreClassPart       core_class;
  95.    CompositeClassPart  composite_class;
  96.    ConstraintClassPart constraint_class;
  97.    XmManagerClassPart  manager_class;
  98.    XmBulletinBoardClassPart  bulletin_board_class;
  99.    XmFormClassPart     form_class;
  100. } XmFormClassRec;
  101.  
  102. externalref XmFormClassRec xmFormClassRec;
  103.  
  104.  
  105. /*  The Form instance record  */
  106.  
  107. typedef struct _XmFormPart
  108. {
  109.    Dimension horizontal_spacing;
  110.    Dimension vertical_spacing;
  111.    int fraction_base;
  112.    Boolean rubber_positioning;
  113.    Widget first_child;
  114.    Boolean initial_width, initial_height;
  115.    Boolean processing_constraints;
  116. } XmFormPart;
  117.  
  118.  
  119. /*  Full instance record declaration  */
  120.  
  121. typedef struct _XmFormRec
  122. {
  123.    CorePart      core;
  124.    CompositePart  composite;
  125.    ConstraintPart constraint;
  126.    XmManagerPart  manager;
  127.    XmBulletinBoardPart  bulletin_board;
  128.    XmFormPart     form;
  129. } XmFormRec;
  130.  
  131. /********    Private Function Declarations    ********/
  132. #ifdef _NO_PROTO
  133.  
  134.  
  135. #else
  136.  
  137.  
  138. #endif /* _NO_PROTO */
  139. /********    End Private Function Declarations    ********/
  140.  
  141. #ifdef __cplusplus
  142. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  143. #endif
  144.  
  145. #endif /* _XmFormP_h */
  146. /* DON'T ADD ANYTHING AFTER THIS #endif */
  147.